package com.ztorn.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import com.ztorn.common.core.annotation.Excel;
import com.ztorn.common.core.web.domain.BaseEntity;

/**
 * 系统监控项
 */
public class WmsMonitor extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 监控ID */
    private Long monitorId;

    /** 监控名称 */
    @Excel(name = "监控名称")
    private String monitorName;

    /** 监控类型 */
    @Excel(name = "监控类型")
    private String monitorType;

    /** 监控目标 */
    @Excel(name = "监控目标")
    private String monitorTarget;

    /** 监控状态（NORMAL正常 WARNING警告 ERROR错误） */
    @Excel(name = "监控状态")
    private String monitorStatus;

    /** 最后检查时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "最后检查时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date lastCheckTime;

    /** 检查间隔(分钟) */
    @Excel(name = "检查间隔(分钟)")
    private Integer checkInterval;

    /** 备注 */
    @Excel(name = "备注")
    private String remark;

    // Getters and Setters
    public Long getMonitorId() {
        return monitorId;
    }

    public void setMonitorId(Long monitorId) {
        this.monitorId = monitorId;
    }

    public String getMonitorName() {
        return monitorName;
    }

    public void setMonitorName(String monitorName) {
        this.monitorName = monitorName;
    }

    public String getMonitorType() {
        return monitorType;
    }

    public void setMonitorType(String monitorType) {
        this.monitorType = monitorType;
    }

    public String getMonitorTarget() {
        return monitorTarget;
    }

    public void setMonitorTarget(String monitorTarget) {
        this.monitorTarget = monitorTarget;
    }

    public String getMonitorStatus() {
        return monitorStatus;
    }

    public void setMonitorStatus(String monitorStatus) {
        this.monitorStatus = monitorStatus;
    }

    public Date getLastCheckTime() {
        return lastCheckTime;
    }

    public void setLastCheckTime(Date lastCheckTime) {
        this.lastCheckTime = lastCheckTime;
    }

    public Integer getCheckInterval() {
        return checkInterval;
    }

    public void setCheckInterval(Integer checkInterval) {
        this.checkInterval = checkInterval;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}